

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorVisitDistributionEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, February 07, 2009</remarks>
	public sealed partial class VendorVisitDistributionEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_Visit_Distributions_tb_Utility_Asset_Distributions : False
	// FK_tb_Vendor_Visit_Distributions_tb_Vendor_Projects : False
	// FK_tb_Vendor_Visit_Distributions_tb_Vendor_Visit_Type : False
	// FK_tb_Vendor_Visit_Distributions_Images_tb_Vendor_Visit_Distributions : True
	// FK_tb_Vendor_Visit_Distributions_tb_Distributions_TopTypes : False

	#region Collection Property: VendorVisitDistributionsImageCollection
	
		/// <summary>
		/// Stores a collection of VendorVisitDistributionsImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitDistributionsImageEntity> prop_VendorVisitDistributionsImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorVisitDistributionsImage Entities associated with this VendorVisitDistributionEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorVisitDistributionsImages table
		/// that are associated with the row in the VendorVisitDistributions table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Visit_Distributions.Vendor_Visit_DistributionId) to
		/// many (tb_Vendor_Visit_Distributions_Images.Vendor_Visit_DistributionFK)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Visit_Distributions<para></para>
		/// PrimaryTableKey = Vendor_Visit_DistributionId<para></para>
		/// ForeignTable = tb_Vendor_Visit_Distributions_Images<para></para>
		/// ForeignTableKey = Vendor_Visit_DistributionFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorVisitDistributionEntity.
		/// Since the Entities can be of any type, this gives the VendorVisitDistributionEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorVisitDistributionsImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorVisitDistributionsImageEntity>   VendorVisitDistributionsImageCollection
		{
			get {return prop_VendorVisitDistributionsImageCollection;}
			set {prop_VendorVisitDistributionsImageCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
